home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / hpljprep.arc / HPLJPREP.DOC < prev    next >
Encoding:
Text File  |  1986-07-21  |  2.6 KB  |  56 lines

  1. HP LaserJet Print Preparation Utility 
  2. Conoco Inc.,   Lee S. Fields 
  3.   
  4. Function: Removes trailing carriage returns/linefeeds and converts 
  5.           IBM Graphics characters to HP LaserJet approximations. 
  6.   
  7. Input:    Uses stdin for input, files may be redirected. 
  8.   
  9. Output:   Uses stdout for output, files may be redirected. 
  10.   
  11. Example:  To route a file to LPT1, use the format: 
  12.   
  13.             HPLJPREP <example.prn >LPT1 
  14.  
  15.  
  16. HPLJPREP was designed to take an ascii file created to print on a 
  17. dot-matrix style printer and convert it to a format acceptable to the 
  18. HP LaserJet Printer. 
  19.  
  20. Files created for a dot-matrix printer, such as the IBM Graphics 
  21. Printer, use a page length of 66 lines with blank lines appended to 
  22. the end of each page. This often results in extra blank pages being 
  23. printed when using a LaserJet. HPLJPREP removes all carriage return 
  24. and linefeed combinations after the last line of text on each page.  
  25. This strategy will not work with all print files, but it will work in 
  26. most cases. 
  27.  
  28. Some print files use the IBM Extended Ascii characters to do simple 
  29. graphics such as drawing boxes around titles.  These characters 
  30. translate to foreign language characters on the LaserJet, so they are 
  31. translated to another character that resembles the same shape. 
  32.  
  33. Input and output are done using the DOS STDIN and STDOUT.  These are 
  34. normally set to the keyboard for input and the screen for output.  
  35. Both of these may be redirected using the DOS redirection operators, < 
  36. and >, on the command line. The < symbol redirects input from the 
  37. keyboard to the filename or device that follows it.  The > symbol 
  38. redirects output from the screen to the filename or device that 
  39. follows it.  To route the input from the file TEST.DOC to the screen, 
  40. use the command "HPLJPREP < TEST.DOC".  To route the output from the 
  41. screen to the file TEST.PRN, use the command "HPLJPREP > TEST.PRN".  
  42. To route the input from the file TEST.DOC and the output to the file 
  43. TEST.PRN use the command "HPLJPREP <TEST.DOC >TEST.PRN".  Printer 
  44. names may also be used like filenames, such as routing the output to 
  45. LPT1 and input from the file TEST.DOC, use the command 
  46. "HPLJPREP <TEST.DOC >LPT1". 
  47.  
  48. Input/Output Summary 
  49.  
  50. From                To                  Command
  51. keyboard            screen              HPLJPREP
  52. keyboard            file - TEST.PRN     HPLJPREP >TEST.PRN
  53. file - TEST.DOC     screen              HPLJPREP <TEST.DOC 
  54. file - TEST.DOC     file - TEST.PRN     HPLJPREP <TEST.DOC >TEST.PRN
  55. file - TEST.DOC     printer - LPT1      HPLJPREP <TEST.DOC >LPT1 
  56.